#include <ClassFactoryObject.h>
#include <iostream>
#include <EDesignerCore.h>



ClassFactoryObject::ClassFactoryObject( ): QObject()
{

}

ClassFactoryObject::~ClassFactoryObject()
{

}

EObject *ClassFactoryObject::creatObject(const QString &typeName)
{
    return NULL;

}

QStandardItem *ClassFactoryObject::creatItem(const QString &typeName)
{
    return NULL;
}

QList<QSharedPointer<EObject> > ClassFactoryObject::generateObjectList()
{
    QList<QSharedPointer<EObject> > list;
    return list;
}

bool ClassFactoryObject::isTypeSupported(const QString &typeName)
{
    EObject* objPtr = this->creatObject(typeName);
    if(objPtr == NULL)
    {
        return false;
    }
        delete objPtr->getObjItem();
        return true;
}
